package ru.adhoc.truealarmfree.utils;

import android.content.Context;


/**
 * Created by malygin on 26.09.13.
 */
public class Constants {

    private static Constants instance;
    Context context;

    public boolean alarmed;
    public int alarmedID;

    //billing const
    public static final int RC_REQUEST = 10001;
    public static final String BASE64_PUBLIC_KEY = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwmXsTb5e38dTzUPlKLG1t4tPK7MvaSBIzwITYOi3KChNJJjijtO4+dIEZ4txBowmZQyYTRRE30KjDW+6jgO/oXfBFfU08cOIO5A8XksCJ2uV2d3O7u6gtRYtsMu2hnZlxmlYbMpB0FbR22stMFJR6/xG4zPysUFCPUYzc1PibrTm5TwDatskxylG42JdayyGcQM/SjuJQc1jLpciFWFwqGNYvOQc1EJ4v0BhuYfCGgGtdWkSnxg9w/SMAXDQDRVriC+6TQ13lesgurJ2OzdTV5O+jI8Dh8tn/J1Np05/5FX69QGQGyTOocl8GMezr65tC8qWH5czjyldvhmI50TfGQIDAQAB";
    public static final String SKU_ADS_DISABLE = "ru.adhoc.truealarmfree.ads.disable";

    public Constants(Context c) {
        context = c;
    }

    public static Constants getInstance(Context ctx){

        if (instance == null){
            instance = new Constants(ctx);
        }
        return instance;
    }

    public void setAlarmed(boolean alarmed0, int alarmedID0){
        alarmed = alarmed0;
        alarmedID = alarmedID0;
        //count = count0;
    }

}
